/**
 * Copyright &copy; 2017-2020 <a href="http://www.fosung.com/">FosungFrame</a> All rights reserved.
 */
package com.fosung.frame.modules.approve.entity;

import java.util.Date;
import java.util.List;

import org.hibernate.validator.constraints.Length;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fosung.frame.common.persistence.DataEntity;
import com.fosung.frame.modules.checkinfos.entity.Checkinfos;
import com.fosung.frame.modules.score.entity.OrganizePersonDetail;
import com.fosung.frame.modules.score.entity.PartyScoreDetail;
import com.fosung.frame.modules.score.entity.PersonScoreDetail;

/**
 * 首页Entity
 * 
 * @author ygl
 * @version 2017-08-30
 */
public class HomeApprove extends DataEntity<HomeApprove> {

	private static final long serialVersionUID = 1L;
	private String code; // 编号
	private String lifename; // 活动名称
	private String personscoreid; // 党员积分内容id
	private String partyscoreid; // 党组织积分内容id
	private String organizationid; // 支部ID
	private String typeids; // 活动类型id
	private String compere; // 主持人
	private String adress; // 活动地点
	private String ydnum; // 应到人数
	private String sdnum; // 实到人数
	private String qxnum; // 缺席人数
	private Date jhtime; // 计划时间
	private Date starttime; // 开始时间
	private Date endtime; // 结束时间
	private String contentzy; // 内容摘要
	private String zycontent; // 主要内容
	private String yyzl; // 影音资料
	private String fujian; // 附件
	private String bmperson; // 报名党员
	private String qjperson; // 请假党员
	private String sdperson; // 实到党员
	private String jhstate; // 计划状态
	private String shstate; // 审核状态
	private String partyscore; // 党组织积分
	private String column23; // column_23//记录人
	private String column24; // column_24//年度ID（考核期ID）
	private String column25; // column_25//数据标识
	private String column26; // column_26
	private String column27; // column_27
	private String column28; // column_28

	private Checkinfos checkinfos;//审核意见表
	private String partyTypeId; // 社区类型
	private String organizationName;// 所属支部名称
	private String ids;//批量操作主键IDS
	private String state;// 操作状态 同意、退回、拒绝
	private String scoreContent;// 积分内容
	private String upperScore;// 积分上限
	private String typeNames; // 组织生活分类
	private String applyScore;//党组织申请积分
	private String checkScore;//审核积分
	private String shyj; //审核意见
	private String year;//年度
	private String type;//加分减分
	private String name;//党员姓名
	private String personId;//党员Id
	private String month;//月份
	
	private List<PartyScoreDetail> partyScoreDetailList;// 党组织积分内容明细
	private List<PersonScoreDetail> personScoreDetailList;// 党员积分内容明细
	private List<OrganizePersonDetail> organizePersonDetailList;//党员积分申请
	
	public String getMonth() {
		return month;
	}

	public void setMonth(String month) {
		this.month = month;
	}

	public String getPersonId() {
		return personId;
	}

	public void setPersonId(String personId) {
		this.personId = personId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getCheckScore() {
		return checkScore;
	}

	public void setCheckScore(String checkScore) {
		this.checkScore = checkScore;
	}

	public List<PartyScoreDetail> getPartyScoreDetailList() {
		return partyScoreDetailList;
	}

	public void setPartyScoreDetailList(List<PartyScoreDetail> partyScoreDetailList) {
		this.partyScoreDetailList = partyScoreDetailList;
	}

	public List<PersonScoreDetail> getPersonScoreDetailList() {
		return personScoreDetailList;
	}

	public void setPersonScoreDetailList(List<PersonScoreDetail> personScoreDetailList) {
		this.personScoreDetailList = personScoreDetailList;
	}

	public List<OrganizePersonDetail> getOrganizePersonDetailList() {
		return organizePersonDetailList;
	}

	public void setOrganizePersonDetailList(List<OrganizePersonDetail> organizePersonDetailList) {
		this.organizePersonDetailList = organizePersonDetailList;
	}

	public String getYear() {
		return year;
	}

	public void setYear(String year) {
		this.year = year;
	}

	public String getShyj() {
		return shyj;
	}

	public void setShyj(String shyj) {
		this.shyj = shyj;
	}

	public String getApplyScore() {
		return applyScore;
	}

	public void setApplyScore(String applyScore) {
		this.applyScore = applyScore;
	}

	
	public Checkinfos getCheckinfos() {
		return checkinfos;
	}

	public void setCheckinfos(Checkinfos checkinfos) {
		this.checkinfos = checkinfos;
	}

	public String getTypeNames() {
		return typeNames;
	}

	public void setTypeNames(String typeNames) {
		this.typeNames = typeNames;
	}

	public String getPartyTypeId() {
		return partyTypeId;
	}

	public void setPartyTypeId(String partyTypeId) {
		this.partyTypeId = partyTypeId;
	}

	public String getOrganizationName() {
		return organizationName;
	}

	public void setOrganizationName(String organizationName) {
		this.organizationName = organizationName;
	}

	public String getIds() {
		return ids;
	}

	public void setIds(String ids) {
		this.ids = ids;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getScoreContent() {
		return scoreContent;
	}

	public void setScoreContent(String scoreContent) {
		this.scoreContent = scoreContent;
	}

	public String getUpperScore() {
		return upperScore;
	}

	public void setUpperScore(String upperScore) {
		this.upperScore = upperScore;
	}

	public HomeApprove() {
		super();
	}

	public HomeApprove(String id) {
		super(id);
	}

	@Length(min = 0, max = 32, message = "编号长度必须介于 0 和 32 之间")
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	@Length(min = 1, max = 64, message = "活动名称长度必须介于 1 和 64 之间")
	public String getLifename() {
		return lifename;
	}

	public void setLifename(String lifename) {
		this.lifename = lifename;
	}

	@Length(min = 0, max = 64, message = "党员积分内容id长度必须介于 0 和 64 之间")
	public String getPersonscoreid() {
		return personscoreid;
	}

	public void setPersonscoreid(String personscoreid) {
		this.personscoreid = personscoreid;
	}

	@Length(min = 0, max = 64, message = "党组织积分内容id长度必须介于 0 和 64 之间")
	public String getPartyscoreid() {
		return partyscoreid;
	}

	public void setPartyscoreid(String partyscoreid) {
		this.partyscoreid = partyscoreid;
	}

	@Length(min = 0, max = 64, message = "支部ID长度必须介于 0 和 64 之间")
	public String getOrganizationid() {
		return organizationid;
	}

	public void setOrganizationid(String organizationid) {
		this.organizationid = organizationid;
	}

	@Length(min = 1, max = 1000, message = "活动类型id长度必须介于 1 和 64 之间")
	public String getTypeids() {
		return typeids;
	}

	public void setTypeids(String typeids) {
		this.typeids = typeids;
	}

	@Length(min = 0, max = 64, message = "主持人长度必须介于 0 和 64 之间")
	public String getCompere() {
		return compere;
	}

	public void setCompere(String compere) {
		this.compere = compere;
	}

	@Length(min = 0, max = 64, message = "活动地点长度必须介于 0 和 64 之间")
	public String getAdress() {
		return adress;
	}

	public void setAdress(String adress) {
		this.adress = adress;
	}

	@Length(min = 0, max = 64, message = "应到人数长度必须介于 0 和 64 之间")
	public String getYdnum() {
		return ydnum;
	}

	public void setYdnum(String ydnum) {
		this.ydnum = ydnum;
	}

	@Length(min = 0, max = 64, message = "实到人数长度必须介于 0 和 64 之间")
	public String getSdnum() {
		return sdnum;
	}

	public void setSdnum(String sdnum) {
		this.sdnum = sdnum;
	}

	@Length(min = 0, max = 64, message = "缺席人数长度必须介于 0 和 64 之间")
	public String getQxnum() {
		return qxnum;
	}

	public void setQxnum(String qxnum) {
		this.qxnum = qxnum;
	}

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getJhtime() {
		return jhtime;
	}

	public void setJhtime(Date jhtime) {
		this.jhtime = jhtime;
	}

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getStarttime() {
		return starttime;
	}

	public void setStarttime(Date starttime) {
		this.starttime = starttime;
	}

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getEndtime() {
		return endtime;
	}

	public void setEndtime(Date endtime) {
		this.endtime = endtime;
	}

	public String getContentzy() {
		return contentzy;
	}

	public void setContentzy(String contentzy) {
		this.contentzy = contentzy;
	}

	public String getZycontent() {
		return zycontent;
	}

	public void setZycontent(String zycontent) {
		this.zycontent = zycontent;
	}

	@Length(min = 0, max = 1000, message = "影音资料长度必须介于 0 和 1000 之间")
	public String getYyzl() {
		return yyzl;
	}

	public void setYyzl(String yyzl) {
		this.yyzl = yyzl;
	}

	@Length(min = 0, max = 1000, message = "附件长度必须介于 0 和 1000 之间")
	public String getFujian() {
		return fujian;
	}

	public void setFujian(String fujian) {
		this.fujian = fujian;
	}

	@Length(min = 0, max = 500, message = "报名党员长度必须介于 0 和 500 之间")
	public String getBmperson() {
		return bmperson;
	}

	public void setBmperson(String bmperson) {
		this.bmperson = bmperson;
	}

	@Length(min = 0, max = 500, message = "请假党员长度必须介于 0 和 500 之间")
	public String getQjperson() {
		return qjperson;
	}

	public void setQjperson(String qjperson) {
		this.qjperson = qjperson;
	}

	@Length(min = 0, max = 500, message = "实到党员长度必须介于 0 和 500 之间")
	public String getSdperson() {
		return sdperson;
	}

	public void setSdperson(String sdperson) {
		this.sdperson = sdperson;
	}

	@Length(min = 0, max = 1, message = "计划状态长度必须介于 0 和 1 之间")
	public String getJhstate() {
		return jhstate;
	}

	public void setJhstate(String jhstate) {
		this.jhstate = jhstate;
	}

	@Length(min = 0, max = 1, message = "审核状态长度必须介于 0 和 1 之间")
	public String getShstate() {
		return shstate;
	}

	public void setShstate(String shstate) {
		this.shstate = shstate;
	}

	@Length(min = 0, max = 64, message = "党组织积分长度必须介于 0 和 64 之间")
	public String getPartyscore() {
		return partyscore;
	}

	public void setPartyscore(String partyscore) {
		this.partyscore = partyscore;
	}

	public String getColumn23() {
		return column23;
	}

	public void setColumn23(String column23) {
		this.column23 = column23;
	}

	@Length(min = 1, max = 64, message = "column_24长度必须介于 1 和 64 之间")
	public String getColumn24() {
		return column24;
	}

	public void setColumn24(String column24) {
		this.column24 = column24;
	}

	@Length(min = 1, max = 64, message = "column_25长度必须介于 1 和 64 之间")
	public String getColumn25() {
		return column25;
	}

	public void setColumn25(String column25) {
		this.column25 = column25;
	}

	@Length(min = 1, max = 64, message = "column_26长度必须介于 1 和 64 之间")
	public String getColumn26() {
		return column26;
	}

	public void setColumn26(String column26) {
		this.column26 = column26;
	}

	@Length(min = 1, max = 64, message = "column_27长度必须介于 1 和 64 之间")
	public String getColumn27() {
		return column27;
	}

	public void setColumn27(String column27) {
		this.column27 = column27;
	}

	@Length(min = 1, max = 64, message = "column_28长度必须介于 1 和 64 之间")
	public String getColumn28() {
		return column28;
	}

	public void setColumn28(String column28) {
		this.column28 = column28;
	}

}